const express = require('express');
const app = express();
app.get('/', (req, res) => {
    console.log("发送请求成功")
    res.send(`Hello ${req.query.name || 'Express'}!`);
});

app.listen(3000, () => console.log('Server at http://localhost:3000'));